
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">系统</li>
						  <li class="am-active">实体</li>
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-fl"><i class="iask-icon-crmtubiao33 iconfont sidebar-nav-link-logo"></i>实体</div>
								<div class="widget-function am-fr">
                                    <a href="${Domain}my/main/add/${province?c}?url=${url}" class="am-icon-plus"    data-am-popover="{theme: 'success sm',content: '新增实体', trigger: 'hover focus'}"></a>
                                </div>
                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                    <div class="am-form-group tpl-table-list-select">
                                        <select data-am-selected="{btnSize: 'sm',maxHeight: 280}" onchange="window.location.href=this.value">
                                        <option value="${Domain}my/main/list"  <#if province=0>selected</#if>>全部</option> 
											<#list list as item>
                                          <option value="${Domain}my/main/list/${item.id?c}"  <#if province=item.id>selected</#if>>${item.name}</option> 
							             </#list> 
							            </select>
                                    </div>
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                                	<#include "../common/search.ftl">
                                </div>

                                <div class="am-u-sm-12">
                                
                                
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">类型</th>
                                                <th>名称</th>
                                                <th>联系人</th>
                                                <th>联系电话</th>                                             
                                                <th>地址</th>
                                                <th width="100px">过期日期</th>
                                                <th width="100px">创建时间</th>
                                                <th width="140px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list page.list as item>
                                            <tr >
                                                <td>                                        
												<#if item.type==0>私有云
												<#else>
                                                <#list types as i>
												<#if i.id=item.type>${i.name}</#if>
												</#list>
												</#if>
												</td>
                                                <td>${item.name}</td>
                                                <td>${item.contacts}</td>
                                                <td>${item.telephone}</td>                                               
                                                <td class="am-text-left">${item.address}</td>
                                                <td>${item.expdate?string("yyyy-MM-dd")}</td>
                                                <td>${item.time?string("yyyy-MM-dd")}</td>
                                                <td>
                                                
                                                    <div class="tpl-table-black-operation">
                                                       <a href="${Domain}my/main/update/${item.id}?url=${url}">
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                    	<a href="${Domain}my/main/userlist/${item.id}" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-list"></i> 管理员
                                                        </a>
                                                       
                                                    </div>
                                                  
                                                </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>  
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
       
       
       
 </div>             
<#include "footer.ftl">